package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.Color;
import com.youlai.boot.factory.model.form.ColorForm;

/**
 * 系统颜色库对象转换器
 *
 * @author youlaitech
 * @since 2025-07-06 16:08
 */
@Mapper(componentModel = "spring")
public interface ColorConverter{

    ColorForm toForm(Color entity);

    Color toEntity(ColorForm formData);
}